'''
Author: jmdvirus
Date: 2020-12-07 20:00:57
LastEditTime: 2020-12-07 20:03:06
LastEditors: Please set LastEditors
Description: In User Settings Edit
FilePath: /DemoLang/python/tools/to_image.py
'''
import png
import sys


def parse_image(image):
    r = png.Reader(filename=image)
    r.read()
    f = png.cli_open(image)


if __name__ == "main":
    parse_image(sys.argv[1])
